libroxml: add pending patch for CMake >= 4.0 support
authorChristian Marangi <[email protected]>
Sun, 23 Nov 2025 13:02:50 +0000 (14:02 +0100)
committerChristian Marangi <[email protected]>
Sun, 23 Nov 2025 13:02:50 +0000 (14:02 +0100)
Add pending patch for libroxml for CMake >= 4.0 support.

Signed-off-by: Christian Marangi <[email protected]>
libs/libroxml/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch [new file with mode: 0644]

diff --git a/libs/libroxml/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch b/libs/libroxml/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch
new file mode 100644 (file)
index 0000000..7b8f592
--- /dev/null
@@ -0,0 +1,25 @@
+From aff60178e4e7e83a4d936be9814302ab2f81ea67 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <[email protected]>
+Date: Sun, 23 Nov 2025 13:59:56 +0100
+Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0
+ support
+
+Update minimum version of CMake to 3.10 for CMake >= 4.0 version
+support.
+
+New CMake require 3.5 as the minimum version with that increased to 3.10
+in the next CMake release.
+
+Signed-off-by: Christian Marangi <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.6)
++cmake_minimum_required (VERSION 3.10)
+ project (roxml C)